package cn.com.dashihui.web.controller;

import java.util.List;

import org.apache.shiro.authz.annotation.RequiresAuthentication;

import com.jfinal.plugin.activerecord.Record;

import cn.com.dashihui.web.base.BaseController;
import cn.com.dashihui.web.service.StoreService;

@RequiresAuthentication
public class VideoOrderController extends BaseController {
	//使用Duang.duang进行封装，使普通类具有事务的功能
	private StoreService storeService = new StoreService();
	/**
	 * 订单列表页面
	 */
	public void index(){
		List<Record> list=storeService.findAllSeller();
    	setAttr("list", list);
		render("index.jsp");
	}
}
